<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0">
        <title>Vue初探——全局构建版本</title>
        <link rel="stylesheet" href="common.css">
        <script src="https://lib.baomitu.com/vue/latest/vue.global.js"></script>
    </head>
    <body>
        <div id="app">
            <p>{{ message }}</p>
        </div>
        <script>
            const HelloVueApp = {
                data() {
                    return {
                        message: 'Vue.js渐进式框架HTML——全局构建版本示例'
                    }
                }
            };

            Vue.createApp(HelloVueApp).mount('#app');
        </script>
    </body>
</html>